package com.labichaoka.chaoka.ui.splash;

import com.labichaoka.chaoka.entity.BaseResponse;
import com.labichaoka.chaoka.entity.VersionCheckResponse;

import java.util.Map;

/**
 * Created by ruan on 2018/6/4.
 */

public interface SplashInteractor {
    interface OnCheckUpdateFinishedListener{
        void onHasUpdate(VersionCheckResponse response);
        void onNoUpdate();
        void onFailed();

        void onUploadContactListSuccess(BaseResponse response);
        void onUploadContactListFailed();
    }
    void checkUpdate(String versionId,OnCheckUpdateFinishedListener listener);

    void uploadContactList(Map<String,String> paramsMap,OnCheckUpdateFinishedListener listener);
}
